<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个人信息</title>
    <meta name="renderer" content="webkit"> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
    <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
    <meta name="apple-mobile-web-app-capable" content="yes">  
    <meta name="format-detection" content="telephone=no"> 
    <link rel="stylesheet" type="text/css" href="__ADMIN__/layui/css/layui.css" media="all">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/bootstrap/css/bootstrap.css" media="all">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/css/personal.css" media="all">
    <script type="text/javascript" src="__ADMIN__/jedate/jquery-1.7.2.js"></script>
</head>
<body>
<section class="layui-larry-box">
<blockquote class="layui-elem-quote mylog-info-tit">
    <ul class="layui-tab-title">
        <a href="/admin/ad/add/pid/{$id}"><li class="layui-btn"><i class="layui-icon">&#xe60a;</i>添加广告</li></a>
    </ul>
</blockquote>
<!-- <div class="layui-form"> -->
<div class="layui-tab-item layui-field-box layui-show">
  <table class="layui-table table-hover" lay-even="" lay-skin="nob">
    <thead>
        <tr>
            <th><!-- <input class="all" type="checkbox" id="selected-all"> --></th>
            <th>ID</th>
            <th>广告标题</th>
            <th>URL</th>
            <th>添加时间</th>
            <th>管理操作</th>
        </tr>
    </thead>
    <tbody>
      <volist name="gg_list" id="gg_list">
        <tr>
          <td><!-- <input class="allcheckbox" type="checkbox" value="{$gg_list['adid']}"> --></td>
          <td>{$gg_list['adid']}</td>
          <td>{$gg_list['adname']}</td>
          <td>{$gg_list['ad_url']}</td>
          <td><?php echo date("Y-m-d H:i:s",$gg_list['addtime']) ?></td>
          <td><a href="/admin/ad/edit/adid/{$gg_list['adid']}" class="layui-btn layui-btn-small">修改</a>
              <a href="/admin/ad/delete/adid/{$gg_list['adid']}" class="layui-btn layui-btn-small layui-btn-danger">删除</a>
        </tr>
      </volist>
    </tbody>
  </table>
  </div>
  <div class="larry-table-page clearfix">
    <auth rule="ad/dodel" fullrule="true" >
      <!-- a href="javascript:void(0)" class="layui-btn layui-btn-small"><i class="iconfont icon-shanchu1"></i>删除</a> -->
    </auth>
    <div id="page" class="page"></div>
  </div>

<!-- </div> -->
</session>
<script type="text/javascript" src="__ADMIN__/layui/layui.js"></script>
<script type="text/javascript">
    /*******获取全选时事件***************/

  layui.use(['jquery','layer','element','laypage'],function(){
        window.jQuery = window.$ = layui.jquery;
        window.layer = layui.layer;
          var element = layui.element(),
              laypage = layui.laypage;
  });

</script>
</body>
</html>